* lisp/progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 13 Nov 2012 18:57:26 +0000 (22:57 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 13 Nov 2012 18:57:26 +0000 (22:57 +0400)
commitf8aabcac45e38af1f38ed0b131d29ca47c40842f
tree85e29c021a68a15b173f83f01d1609fc8f9c251f
parent0d451ad221028482297a2cdaa30a5a5365c13081
* lisp/progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
start/end keyword a bit harder.  Works with different values of N.
Add more comments.
(ruby-end-of-block): Update accordingly.

* test/automated/ruby-mode-tests.el (ruby-heredoc-font-lock)
(ruby-singleton-class-no-heredoc-font-lock)
(ruby-add-log-current-method-examples): New tests.
(ruby-test-string): Extract from ruby-should-indent-buffer.
(ruby-deftest-move-to-block): New macro.
Add several move-to-block tests.
lisp/ChangeLog
lisp/progmodes/ruby-mode.el
test/ChangeLog
test/automated/ruby-mode-tests.el